package cn.tedu.egmvcboot.mapper;

import cn.tedu.egmvcboot.pojo.entity.Article;
import cn.tedu.egmvcboot.pojo.entity.User;
import cn.tedu.egmvcboot.pojo.vo.ArticleVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    User selectByUsernameAndPassword(@Param("username") String name, @Param("password") String password);

    int insertArticle(Article article);

    ArticleVO selectArticleById(Integer id);
}
